Foreign Aid and Political Support
======================================================
Researchers: Kate Baldwin and Matthew S. Winters

1. Table of Contents.

This data replication package contains three subfolders:

1. data - this folder contains the five data files needed to replicate results: 
          Uganda_HHsurvey_HHlevelobs.dta
          Uganda_HHsurvey_politicianlevelobs.dta
          Uganda_IPsurvey_politicianlevelobs.dta
          Uganda_LC3survey_projectlevelobs.dta
          AfroR4_distancescapitalAidprojects.dta

2. dofiles - this folder contains the do-files and user-written programs used in the analysis and output. 
          Uganda_HHsurvey_manuscript.do
          Uganda_IPsurvey_manuscript.do
          AidData_fourcountry_manuscript.do
          Uganda_HHsurvey_appendix.do
          Uganda_IPsurvey_appendix.do
          Uganda_LC3survey_appendix.do
          AidData_fourcountry_appendix.do
          Figure 2 Actors tiff.R
          Figure 2 Northern tiff.R
          Figure 3 Critical tiff.R
          Figure 3 Timely tiff.R
          Figure A1 Involve tiff.R
          Figure A2 NRM tiff.R

3. figures_tables - this folder contains the figures and tables outputted by the dofiles. 
	  Fig2_LeftPanel_Act.tif
	  Fig2_RightPanel_North.tif
	  Fig3_LeftPanel_Critical.tif
	  Fig3_RightPanel_Timely.tif
	  Fig5_LeftPanel_creditdue.tif
	  Fig5_CenterPanel_votingfactor.tif
	  Fig5_RightPanel_votechoice.tif
	  Fig6_LeftPanel_creditduep.tif
	  Fig6_CenterPanel_votingfactorp.tif   
	  Fig6_RightPanel_votechoicep.tif
	  Fig7_LeftPanel_aid5kmCOUNTRY_bytreatment.tif
	  Fig7_RightPanel_aid10kmCOUNTRY_bytreatment.tif
	  FigN1_aid5kmCOUNTRY_bytreatment_i2.tif
	  FigN1_aid5kmCOUNTRY_bytreatment2.tif
	  FigN1_aid10kmCOUNTRY_bytreatment_i2.tif
	  FigN1_aid10kmCOUNTRY_bytreatment2.tif       
          
In addition, it contains Figure 1, a map of the study sites created in ArcMap and Figure 4, a figure displaying the sources of variation created in Powerpoint.
	  Figure1_Uganda_GGP_Map_BW.tif
	  Figure4.tif

2. Notes for Each Table and Figure

The tables and figures in the main text are produced by the code above with the following exceptions:
          Table 1, literature review, created in word.
          Table 2, predictions (Uganda HH survey data), created in word.
          Table 7, predictions (Afrobarometer data), created in word.
	  Figure 1, created in ArcMap.
          Figure 4, created in Powerpoint. 

The tables in the appendix are produced by the code above with the following exception:
          Table C1, column 1 (Census data).


3. Base Software Dependencies: Stata SE version 14.0 and R x64 4.02


4. Additional Dependencies: Stata packages: tabout.ado, frmttable.ado, coefplot.ado, geodist.ado, scheme_tufte.scheme


Last updated: 6 June 2022